package com.newtouch.xcd.pms.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 产品预约表 产品预约表
 * </p>
 *
 * @author dongyuefeng
 * @since 2020-07-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="XcdFundOrder对象", description="产品预约表 产品预约表")
public class XcdFundOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "请求ID 	唯一的一串字符串，接收方需判断表里面是否存在这条记录，如果已经存在了，则报502 错误。保证接口的幂等性。（记录不会重复）")
    @TableField("request_id")
    private String requestId;

    @ApiModelProperty(value = "产品ID 	预约的哪一款产品")
    @TableField("product_id")
    private String productId;

    @ApiModelProperty(value = "客户姓名")
    @TableField("customer_name")
    private String customerName;

    @ApiModelProperty(value = "联系电话 	必须是手机号")
    @TableField("customer_phone")
    private String customerPhone;

    @ApiModelProperty(value = "预约金额 	只能输入数字")
    @TableField("booking_amount")
    private String bookingAmount;

    @ApiModelProperty(value = "推荐人")
    @TableField("reference")
    private String reference;

    @ApiModelProperty(value = "预约提交时间 	yyyy-MM-dd hh:mm:ss")
    @TableField("book_submit_time")
    private String bookSubmitTime;

    @ApiModelProperty(value = "预约状态 	B00 未提交 B01 提交成功")
    @TableField("book_status")
    private String bookStatus;

    @ApiModelProperty(value = "创建时间 	yyyy-MM-dd HH:mm:ss")
    @TableField("create_time")
    private String createTime;

    @ApiModelProperty(value = "更新时间 	yyyy-MM-dd HH:mm:ss")
    @TableField("updated_time")
    private String updatedTime;

    @ApiModelProperty(value = "经办员 	默认999999 为自动修改用户的用户code")
    @TableField("user_code")
    private String userCode;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "数据等级 	0正常 1已删除")
    @TableField("data_level")
    @TableLogic
    private String dataLevel;

    @ApiModelProperty(value = "版本号 用来乐观锁做版本控制")
    @TableField("VERSION")
    private Integer version;


}
